
LIB_PATH= -L/usr/local/mysql_5.1/lib/mysql  -L../comm/eastl_lib/src -L../../project/quicklz
TARGETS = robot


all : COMM $(TARGETS)


.PHONY: all clean



COMM:
	@cd ../comm/; 
	rm *.o -rf
	make -f makefile_robot;
#	rm *.o -rf 
#	make -f makefile_broadcast


clean :
	rm $(TARGETS) $(OBJS) $(OBJS_COMM) $(IP_DABABASE_OBJ) -f
	@cd ../comm/; make clear
clear:
	find . -type f -exec touch {} \;
	rm *.o -f
	rm $(IP_DABABASE)/*.o -f
	rm robot broadcast_msg -rf
